package mysql

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Name     string `gorm:"type:varchar(100);not null;comment:'姓名'" json:"name"`
	Phone    string `gorm:"type:char(11);not null;comment:'电话'" json:"phone"`
	Password string `gorm:"type:char(32);not null;comment:'密码'" json:"password"`
}
